package com.example.canalclientsync.canal.mapper.db1;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.canalclientsync.canal.po.FileEditUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author chen.cr
 * @since 2023/9/15
 */
@Mapper
public interface FileDataRoleMapper extends BaseMapper<FileEditUser> {

    /**
     * 查询模型的编辑者
     *
     * @param masterId
     * @param tenantId
     * @return
     */
    List<FileEditUser> listModelEditUserIdByMasterIdAndTenantId(Long masterId, String tenantId);

}
